<?php
/**
 * Created by litong on Date: 2019/4/10 0010 下午 6:52
 */
spl_autoload_register(function ($classname){
  $filename = "./". $classname .".class.php";
  echo $filename.PHP_EOL;
  include_once($filename);
});

$obj=new MyClass();
